package com.example.mydemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mydemo.entity.UserRole;
import com.example.mydemo.entity.domain.UserRoleVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author syf
 * @since 2025-05-28
 */
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<UserRoleVO> selectByUserName(String name);
    List<UserRoleVO> selectName();
}

